/*
========================================================================
 Name        : AutoKeyLockSettings.rssi
 Author      : 
 Copyright   : Your copyright notice
 Description : 
========================================================================
*/
#include "AutoKeyLockSettings.hrh"
#include "AutoKeyLockSettings.loc"

RESOURCE AVKON_VIEW r_auto_key_lock_settings_auto_key_lock_settings_view
	{
	cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
	menubar = r_auto_key_lock_settings_options_menu;
	toolbar = 0;
	}

RESOURCE CBA r_autokeylock_softkeys_options_hide
	{
	buttons =
		{
		CBA_BUTTON
			{id=EAknSoftkeyOptions; txt = "Options";},
		CBA_BUTTON
			{id=EAutoKeyLockSettingsViewAutoKeyLockHideCmd; txt = "Hide";}
		};
	}

RESOURCE MENU_BAR r_auto_key_lock_settings_options_menu
	{
	titles =
		{
		MENU_TITLE
			{
			menu_pane = r_auto_key_lock_settings_menu_pane1_menu_pane;
			}
		};
	}
RESOURCE MENU_PANE r_auto_key_lock_settings_menu_pane1_menu_pane
	{
	items =
		{
		MENU_ITEM
			{
			command = EAutoKeyLockSettingsViewMenuItem1Command;
			txt = STR_AutoKeyLockSettingsView_6;
			},
		MENU_ITEM
			{
			command = EAutoKeyLockSettingsViewAboutMenuItemCommand;
			txt = STR_AutoKeyLockSettingsView_8;
			},
		MENU_ITEM
			{
			command = EAutoKeyLockSettingsViewExitMenuItemCommand;
			txt = STR_AutoKeyLockSettingsView_17;
			}
		};
	}
RESOURCE STATUS_PANE_APP_MODEL r_auto_key_lock_settings_status_pane
	{
	panes =
		{
		SPANE_PANE
			{
			id = EEikStatusPaneUidTitle;
			type = EAknCtTitlePane;
			resource = r_auto_key_lock_settings_title_resource;
			}
		};
	}
RESOURCE TITLE_PANE r_auto_key_lock_settings_title_resource
	{
	txt = STR_AutoKeyLockSettingsView_4;
	}
RESOURCE AVKON_SETTING_ITEM_LIST r_auto_key_lock_settings_auto_key_lock_settings
	{
	flags = EAknSettingItemNumberedStyle;
	items =
		{
		AVKON_SETTING_ITEM
			{
			name = STR_AutoKeyLockSettingsView_11;
			identifier = EAutoKeyLockSettingsViewBinarySettingAutoLock;
			setting_page_resource = r_auto_key_lock_settings_binary_setting_auto_lock_setting_page_resource;
			associated_resource = r_auto_key_lock_settings_binary_setting_auto_lock;
			},
		AVKON_SETTING_ITEM
			{
			name = STR_AutoKeyLockSettingsView_76;
			identifier = EAutoKeyLockSettingsViewSliderAutoLockPeriod;
			setting_page_resource = r_auto_key_lock_settings_slider_auto_lock_period_setting_page_resource;
			},
		AVKON_SETTING_ITEM
			{
			name = STR_AutoKeyLockSettingsView_16;
			identifier = EAutoKeyLockSettingsViewBinarySettingAutoStart;
			setting_page_resource = r_auto_key_lock_settings_binary_setting_auto_start_setting_page_resource;
			associated_resource = r_auto_key_lock_settings_binary_setting_auto_start;
			}
		};
	}
RESOURCE AVKON_SETTING_PAGE r_auto_key_lock_settings_binary_setting_auto_lock_setting_page_resource
	{
	label = STR_AutoKeyLockSettingsView_11;
	type = EAknCtPopupSettingList;
	editor_resource_id = r_auto_key_lock_settings_binary_setting_auto_lock_editor_resource_id;
	}
RESOURCE POPUP_SETTING_LIST r_auto_key_lock_settings_binary_setting_auto_lock_editor_resource_id
	{
	}
RESOURCE AVKON_POPUP_SETTING_TEXTS r_auto_key_lock_settings_binary_setting_auto_lock
	{
	setting_texts_resource = r_auto_key_lock_settings_binary_setting_auto_lock_setting_texts_resource;
	popped_up_texts_resource = r_auto_key_lock_settings_binary_setting_auto_lock_popped_up_texts_resource;
	}
RESOURCE ARRAY r_auto_key_lock_settings_binary_setting_auto_lock_setting_texts_resource
	{
	items =
		{
		AVKON_ENUMERATED_TEXT
			{
			text = STR_AutoKeyLockSettingsView_5;
			value = 1;
			},
		AVKON_ENUMERATED_TEXT
			{
			text = STR_AutoKeyLockSettingsView_9;
			}
		};
	}
RESOURCE ARRAY r_auto_key_lock_settings_binary_setting_auto_lock_popped_up_texts_resource
	{
	items =
		{
		LBUF
			{
			txt = STR_AutoKeyLockSettingsView_7;
			},
		LBUF
			{
			txt = STR_AutoKeyLockSettingsView_10;
			}
		};
	}
RESOURCE AVKON_SETTING_PAGE r_auto_key_lock_settings_slider_auto_lock_period_setting_page_resource
	{
	label = STR_AutoKeyLockSettingsView_76;
	type = EAknCtSlider;
	editor_resource_id = r_auto_key_lock_settings_slider_auto_lock_period_editor_resource_id;
	}
RESOURCE SLIDER r_auto_key_lock_settings_slider_auto_lock_period_editor_resource_id
	{
	layout = EAknSettingsItemSliderLayout;
	maxvalue = 120;
	step = 1;
	minlabel = STR_AutoKeyLockSettingsView_74;
	maxlabel = STR_AutoKeyLockSettingsView_75;
	minvalue = 5;
	}
RESOURCE AVKON_SETTING_PAGE r_auto_key_lock_settings_binary_setting_auto_start_setting_page_resource
	{
	label = STR_AutoKeyLockSettingsView_16;
	type = EAknCtPopupSettingList;
	editor_resource_id = r_auto_key_lock_settings_binary_setting_auto_start_editor_resource_id;
	}
RESOURCE POPUP_SETTING_LIST r_auto_key_lock_settings_binary_setting_auto_start_editor_resource_id
	{
	}
RESOURCE AVKON_POPUP_SETTING_TEXTS r_auto_key_lock_settings_binary_setting_auto_start
	{
	setting_texts_resource = r_auto_key_lock_settings_binary_setting_auto_start_setting_texts_resource;
	popped_up_texts_resource = r_auto_key_lock_settings_binary_setting_auto_start_popped_up_texts_resource;
	}
RESOURCE ARRAY r_auto_key_lock_settings_binary_setting_auto_start_setting_texts_resource
	{
	items =
		{
		AVKON_ENUMERATED_TEXT
			{
			text = STR_AutoKeyLockSettingsView_12;
			value = 1;
			},
		AVKON_ENUMERATED_TEXT
			{
			text = STR_AutoKeyLockSettingsView_14;
			}
		};
	}
RESOURCE ARRAY r_auto_key_lock_settings_binary_setting_auto_start_popped_up_texts_resource
	{
	items =
		{
		LBUF
			{
			txt = STR_AutoKeyLockSettingsView_13;
			},
		LBUF
			{
			txt = STR_AutoKeyLockSettingsView_15;
			}
		};
	}
